window.onload = function(){
    var swit = document.getElementById("switch");
    var exit = document.querySelector("footer");
    Tap(exit,function() {
        deleteByKey("like_token",function(){
            window.location.href = '../../index.html';
        });
    });
    Tap(swit,function(){
        deleteByKey("like_token",function(){
            window.location.href = 'enter.html';
        });
    });
}